package com.ruoyi.common.enums.user;

public enum UserSex {

    MAN("0", "男"), WOMEN("1", "女"), UNKNOWN("2", "未知");

    private final String code;
    private final String info;

    UserSex(String code, String info){
        this.code = code;
        this.info = info;
    }

    public String getCode(){
        return code;
    }

    public String getInfo(){
        return info;
    }
}
